package com.app.controller;

import com.app.model.response.RetStatus;
import com.app.service.AccusationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Lichaojie on 2017/3/13. It's a beautiful day.
 */
@RequestMapping(value = "/accusation")
@RestController
public class AccusationController {

    @Autowired
    private AccusationService accusationService;

    @RequestMapping(value = "/doAccusation")
    public RetStatus doAccusation(@RequestBody String parameter){
            return accusationService.doAccusation(parameter);
    }



}
